import React from 'react';
import './ui.less';
import { Card, Button } from 'antd'

export default class Buttons extends React.Component {
    render() {
        return (
            <div className="home-wrap">
                <Card title="基础按钮">
                    <Button type="primary"></Button>
                    <Button >good</Button>
                    <Button type="dashed"></Button>
                    <Button type="danger"></Button>
                    <Button disabled></Button>
                </Card>
                <Card title="图形按钮">
                    <Button icon="plus">创建</Button>
                    <Button icon="edit">编辑</Button>
                    <Button type="dashed" icon="delete">删除</Button>
                    <Button shape="circle" icon="search"></Button>
                    <Button type="primary" icon="search">搜索</Button>
                    <Button type="primary" icon="download">下载</Button>
                </Card>
            </div>
        );
    }
}